home *** CD-ROM | disk | FTP | other *** search
Wrap
{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fswiss Helvetica;} \paperw12940 \paperh9000 \margl120 \margr1000 {\colortbl\red0\green0\blue0;} \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ul0\fs28\fc0 InterfaceBuilder custom palette makefile bug workaround \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 \ \ Q: When I use \b make clean \b0 to remove my executable files, I notice that the \b .debug \b0 version of my palette files are not removed. What can I do?\ \ A: This is a known bug in the \b /usr/lib/nib/palette.make \b0 . You can workaround this problem by creating a \b Makefile.postamble \b0 with the following lines: \ \ \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f2\fs24\fc0 # Extend 'make clean' to remove the .debug directories\ #\ clean::\ /bin/rm -rf $(NAME).debug debug_obj\ \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 \ \f0\fs28 \ Q: I have added a custom library using the InterfaceBuilder Tools Inspector and the \b OTHER_LIBS \b0 option into my palette IB project directory. I was able to compile successfully using \b make debug \b0 , but when I loaded my \b .debug.palette \b0 file, an alert panel opened with the error "Palette conflicts with previously loaded palettes." What is happening?\ \ A: This is another known bug in the \b /usr/lib/nib/palette.make \b0 . You can workaround this problem by adding the following to either your \b Makefile.postamble \b0 or \b Makefile.preamble: \b0 \ \ \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f2\fs24\fc0 OTHER_DEBUG_LIBS = $(OTHER_LIBS)\ DEBUG_LIBS = $(LIBS)\ \ \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs28 Note that this problem does not happen when you simply use \b make \b0 .\ \ Q: How can I determine exactly what is going wrong when InterfaceBuilder tells me a palette I am trying to load conflicts with a previously loaded palette?\ \ A: You should check the file \b /tmp/IBLoadErrors \b0 for more details. In our previous example of a missing library, the error file would contain the following output:\ \ \pard\tx1440\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs24\li920 localhost> \b \b0 cat /tmp/IBLoadErrors\ \fc0 ld(): Undefined symbols:\ _dummyLibFunction\ \ \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs28 which points to the fact that your library was not linked in properly.\ \ \ \fc0 QA814\ \ Not Valid for 1.0\ Valid for 2.0\ \